package com.haliyoo.adhere.controller;

import java.util.ArrayList;
import java.util.HashMap;

public class Constants {
	/** 数据库名称 */
	public static String DATABASE_NAME = "gdDatabase";
	
	public static String phoneNumber = null;
	
	/**请求成功**/
	public static final int SUCCESS = 100;
	/**请求失败**/
	public static final int FAILURE = 101;
	/**判断是否读取缓存**/
	public static final boolean ISCACHE = false;
	public static int BEAR = 999;
	/**弹出框开启**/
	public static final int STARTWAITIG = ++BEAR;
	/**弹出框关闭**/
	public static final int STOPWAITING = ++BEAR;

	/**判断是否开启异步**/
	public static boolean ISSHOWWAITING = false;
	/**显示用户信息**/
	public static final int SHOW_USER = ++BEAR;
	/**获取联系人列表**/
	public static final int GET_PHONE_LIST = ++BEAR;
	
	/**信息ITEM的消息传递**/
	public static final int INFO_ITEM = ++BEAR;
	/**发布微博**/
	public static final int PUBLISH_WEIBO = ++BEAR;
	/**保存微博**/
	public static final int SAVE_WEIBO = ++BEAR;
	/**基础模块 更新服务器参数**/
	public static final int UPDATA_SERVER = ++BEAR;
	
	/**退出应用**/
	public static final int EXIT_APPLICATION = ++BEAR;
	
	/**
	 * Handler消息
	 */
	
	/**显示新的微博请求**/
	public static final int SHOW_NEW_WEIBO_CONTENT = ++BEAR;
	/**显示老的微博请求**/
	public static final int SHOW_OLD_WEIBO_CONTENT = ++BEAR;
	/**显示进度条请求**/
	public static final int SHOW_PROGRESS_BAR = ++BEAR;
	/**隐藏进度条请求**/
	public static final int HIDE_PROGRESS_BAR = ++BEAR;
	
	/**服务器地址**/
	public static final String SERVER_ADDR = "adhere.haliyoo.com:5408";
	/**密码**/
	public static final String USER_PWD = "";
	
	/**缩略图高度**/
	public static final int THUMB_IMAGE_HEIGHT = 80;
	/**缩略图宽度**/
	public static final int THUMB_IMAGE_WIDTH = 300;
	/**全图宽度**/
	public static final int RAW_IMAGE_WIDTH = 440;
}
